<template>
  <el-dialog
      v-model="dialogVisible"
      :title="title"
      width="30%"
      :before-close="handleClose"
  >
    <span>This is a message</span>
    <template #footer>
      <span class="dialog-footer">
        <el-button @click="dialogVisible = false">Cancel</el-button>
        <el-button type="primary" @click="dialogVisible = false"
        >Confirm</el-button
        >
      </span>
    </template>
  </el-dialog>
</template>

<script>
export default {
  name: "ZxtableModal",
  data() {
    return {
      title: '',
      dialogVisible: false,
    }
  },
  methods: {
    edit(row){
      console.log(row)
      this.dialogVisible = true;
    },
    handleClose(){

    },
  }
}
</script>

<style scoped>

</style>